#include <QCoreApplication>
#include <iostream>

#include "polarcoordinates.h"

using namespace std;

int main()
{
    PolarCoordinates a;
    try {
        a = PolarCoordinates(5, 15);
        cout << a.getAngle() << endl;
    } catch(PolarCoordinates::errors e) {
        cout << "terminated with code " << e;
    }

    return 0;
}
